<?php
defined('BASEPATH') OR exit('No direct script access allowed');
//上传的参数配置
$config['upload_path'] = './public/uploads/';
$config['allowed_types'] = 'gif|png|jpg';
$config['max_size'] = 100;
$config['max_width'] = '1024';
$config['max_height'] = '768';